<template>
  <div>
    <button @click="btnClick">调用登录接口</button>
  </div>
</template>
<script>
import { sysLogin } from '@/api/test'
export default {
  methods: {
    async btnClick() {
      alert(process.env.VUE_APP_XXX)
      const res = await sysLogin({
        mobile: '13800000002',
        password: '123456'
      })
      console.log(res)
    }
  }
}
</script>
<style></style>
